<?php
/**
 * Created by PhpStorm.
 * User: LuLingFeng
 * Date: 2017/12/28
 * Time: 20:50
 */
namespace App\Http\Admin\Administration\Models;

use Framework\BaseClass\Http\Admin\Model;

class WorkflowDict extends Model
{
    public static function getDescriptionByDisposeCode($disposeCode)
    {
        return \App\Eloquent\Oa\WorkflowDict::where('dispose_code', '=', $disposeCode)->value('description');
    }
}